﻿#ifndef PANEL_H
#define PANEL_H

#include <QWidget>

#include "stock.h"
#include "stockview.h"
#include "loss.h"
#include "lossview.h"
#include "mass.h"
#include "massview.h"
#include "reject.h"
#include "rejectview.h"
#include "epiboly.h"
#include "epibolyview.h"

namespace Ui {
class Panel;
}

class Panel : public QWidget
{
    Q_OBJECT

public:
    explicit Panel(QWidget *parent = 0);
    ~Panel();

    void displayError();

private slots:
    void on_btn_stock_clicked();
    void on_btn_stockview_clicked();

    void on_btn_loss_clicked();
    void on_btn_lossview_clicked();

    void on_btn_mass_clicked();
    void on_btn_massview_clicked();

    void on_btn_reject_clicked();
    void on_btn_rejectView_clicked();

    void on_btn_epiboly_clicked();
    void on_btn_epibolyView_clicked();

private:
    Ui::Panel *ui;

    Stock *stock;
    StockView *stockView;
    Reject *reject;
    RejectView *rejectView;
    Loss *loss;
    LossView *lossView;
    Mass *mass;
    MassView *massView;
    Epiboly *epiboly;
    EpibolyView *epibolyView;
};

#endif // PANEL_H
